package com.jy.adscm.hcPlan.mapper.mysql;

import com.jy.adscm.hcPlan.bean.HcPlanProcedure;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 耗材总装过程的工序的标准配置表，目前配置的是总装所有工序一起的标准耗时配置 Mapper 接口
 * </p>
 *
 * @author yyy
 * @since 2018-08-13
 */
@Mapper
public interface HcPlanProcedureMapper extends BaseMapper<HcPlanProcedure> {

    @Select("SELECT SUM(cycle_day) cycle_day FROM hc_plan_procedure")
    public Integer getAllCycleDay();
}
